if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PreservationNoticeHistoryAttachmentGetByPreservationNoticeHistoryID]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[PreservationNoticeHistoryAttachmentGetByPreservationNoticeHistoryID]
GO

CREATE PROCEDURE dbo.[PreservationNoticeHistoryAttachmentGetByPreservationNoticeHistoryID]
(
	@PreservationNoticeHistoryID int
)
AS
SET NOCOUNT ON

SELECT
	*
FROM
	PreservationNoticeHistoryAttachment
WHERE
	PreservationNoticeHistoryID = @PreservationNoticeHistoryID
GO